home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2001 / MacHack 2001.toast / pc / The Hacks / Beer Goggles Hack / common.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-06-23  |  1.2 KB  |  45 lines

  1. /*
  2.     File:        Common.h
  3.  
  4.     Contains:    HackTV common routines
  5.             
  6.     Copyright:    © 1992-1998 by Apple Computer, Inc.
  7. */
  8.  
  9. #ifndef _APP_COMMON_
  10. #define _APP_COMMON_
  11.  
  12. #include <QTML.h>
  13. #include <Menus.h>
  14. #include <Printing.h>
  15. #include <QuickTimeComponents.h>
  16.  
  17. #define kWhichEffect    'BMos'    //'ClRp' //'JtTV'    //'MoSc'    // kEmbossImageFilterType
  18. //#define kWhichParam        'SrIn'    //'MsSz'    //'ksiz'
  19. //#define kParamValue        5        // 10;        //3;
  20.  
  21. void InitializeSequenceGrabber(void);
  22. void DoRecord(void);
  23. void DoAboutDialog(void);
  24. void DoPageSetup(void);
  25. void DoPrint(void);
  26. void DoCopyToClipboard(void);
  27. void DoVideoSettings(void);
  28. void DoSoundSettings(void);
  29. void DoResize(short divisor);
  30.  
  31. GWorldPtr MakeOffscreenGWorld (void);
  32. void CopyFrameToWindow (WindowPtr inWindow);
  33. void MakeEffectDescription (void);
  34. ImageDescriptionHandle MakeSampleDescription (OSType theEffectType, short theWidth,
  35.     short theHeight);
  36. void PrepareDecompressionSequence (void);
  37. void LinkUpSources (void);
  38. OSErr RunEffect(TimeValue theTime, int theNumberOfSteps);
  39. void GetSkinTone (RGBColor* prgbColor);
  40. void ToggleParentalFilter (void);
  41.  
  42. // CreateMonitorWindow is implemented platform-specific
  43. void CreateMonitorWindow(void);
  44. #endif
  45.